JavaScript

{dialog.object}_primaryKeyListSetKey Method

Syntax

{dialog.object}._primaryKeyListSetKey(key [, flag]);

Arguments

keystring

The primary key value. If the primary key is defined using multiple columns, use ||| as a delimiter between each key.

flagboolean

Optional true/false value. Default value is true. If true, control will be disabled. If false, control will be enabled.

Description

Sets the active row in the Primary key Control to the specified primary key value.

Discussion

This method only applies to Data Bound UX components that display a List control showing the Primary Keys that have been retrieved from the server.

Example

{dialog.Object}._primaryKeyListSetKey(123);
{dialog.Object}._primaryKeyListSetKey('John|||Smith');